Skip to content

chore(deps): update module github.com/stretchr/objx to v0.7.0 - #147

Merged
renovate[bot] merged 1 commit into
localstackfrom
renovate/go-dependencies-(non-major)
Oct 16, 2026
Merged

renovate[bot] merged 1 commit into
localstackfrom
renovate/go-dependencies-(non-major)

Conversation

@renovate

@renovate renovate Bot commented Oct 16, 2026

Copy link
Copy Markdown

This PR contains the following updates:

Package Change Age Confidence
github.com/stretchr/objx v0.5.3 → v0.7.0 age confidence

Release Notes

stretchr/objx (github.com/stretchr/objx)

v0.7.0

Compare Source

Upgrade notes

Behavior changes
  • Has now reports keys whose value is nil. Map.Has used to return false both for missing keys and for keys set to nil, so the two couldn't be told apart. It now returns true whenever the selector exists, including nested keys, bracket keys and slice indexes that hold nil. If you relied on Has to mean "set and not nil", use !m.Get(selector).IsNil() instead. (#​172)
Other
  • Added a contributing guide (#​183), a security policy (#​182) and issue templates (#​184).
  • The Go workflow token is now restricted to read-only contents (#​181).

What's Changed

New Contributors

Full Changelog: stretchr/objx@v0.6.0...v0.7.0

v0.6.0

Compare Source

Upgrade notes

Go 1.25 or later is now required (previously Go 1.20). (#​175)

Behavior changes
  • Where* now returns the items the decider selects. Previously every Where* method (WhereInt, WhereStr, WhereMSI, WhereObjxMap, …) returned the items for which the decider returned false, the opposite of what its documentation says. If you negated your decider to work around this, remove the negation. (#​180)
  • Indexed Set updates the element instead of replacing the slice. Set("names[0]", "Mat") used to replace the whole names slice with "Mat"; it now sets only the first element. Indexing into a value that isn't a slice (e.g. Get("name[0]") on a string) now returns a missing value instead of the value itself. (#​170)
  • Nil slices and maps stay null in JSON. objx.Map{"items": []any(nil)} now encodes as {"items":null} instead of {"items":[]}. Empty, non-nil containers still encode as [] / {}. (#​171)
  • URLValues keeps every element of a slice of maps. With the [] and "" key suffixes, only the last element's values used to be kept. []any values (e.g. arrays decoded from JSON) are now encoded element by element instead of as a Go-syntax string. (#​177)
  • The error returned by SetURLValuesSliceKeySuffix for an invalid suffix now reads objx: invalid URLValuesSliceKeySuffix provided. (#​176)
Other
  • The API now uses any instead of interface{}. They are the same type, so this doesn't affect callers. (#​175)
  • The type-specific accessors are now generated with go generate (#​179), and CI runs golangci-lint (#​176, #​178).

What's Changed

New Contributors

Full Changelog: stretchr/objx@v0.5.3...v0.6.0


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot enabled auto-merge (squash) October 16, 2026 11:00
@renovate
renovate Bot merged commit 3bce36b into localstack Oct 16, 2026
5 checks passed
@renovate
renovate Bot deleted the renovate/go-dependencies-(non-major) branch October 16, 2026 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants